/*
 * package com.myrpc.test.zk;
 * 
 * import java.util.List;
 * 
 * import org.junit.Test; import org.junit.runner.RunWith; import
 * org.springframework.beans.factory.annotation.Autowired; import
 * org.springframework.boot.test.context.SpringBootTest; import
 * org.springframework.test.context.junit4.SpringRunner;
 * 
 * import com.myrpc.provider.ProviderApplication; import
 * com.myrpc.provider.registry.ServiceRegistry;
 * 
 * @RunWith(SpringRunner.class)
 * 
 * @SpringBootTest(classes=ProviderApplication.class) public class ZkTs {
 * 
 * @Autowired ServiceRegistry serviceRegistry;
 * 
 * @Test public void zk() { serviceRegistry.register("127.0.0.1:10000");
 * 
 * List<String> tsShowAllNode = serviceRegistry.tsShowAllNode();
 * 
 * System.out.println(tsShowAllNode);
 * 
 * }
 * 
 * }
 */